package com.moioo.exam;

import java.util.HashSet;
import java.util.Set;

/**
 * TServer entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TServer implements java.io.Serializable {

	// Fields

	private Integer id;
	private String ip;
	private Integer port;
	private Short state;
	private String url;
	private String savepath;
	private Set TVodfiles = new HashSet(0);

	// Constructors

	/** default constructor */
	public TServer() {
	}

	/** full constructor */
	public TServer(String ip, Integer port, Short state, String url,
			String savepath, Set TVodfiles) {
		this.ip = ip;
		this.port = port;
		this.state = state;
		this.url = url;
		this.savepath = savepath;
		this.TVodfiles = TVodfiles;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Integer getPort() {
		return this.port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public Short getState() {
		return this.state;
	}

	public void setState(Short state) {
		this.state = state;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getSavepath() {
		return this.savepath;
	}

	public void setSavepath(String savepath) {
		this.savepath = savepath;
	}

	public Set getTVodfiles() {
		return this.TVodfiles;
	}

	public void setTVodfiles(Set TVodfiles) {
		this.TVodfiles = TVodfiles;
	}

}